<template>
  <div class="wh">
    <component
      :typestr.sync="typestr"
      :num.sync="numval" 
      :is="componentDetail.logo ? 'commonbaseshownumlogo' : 'commonbaseshownumline'"
      :componentDetail="componentDetail"
    ></component>
  </div>
</template>
<script>
import commonmixins from "@/mixins/bigScreen/commonmixins";

export default {
  mixins: [commonmixins],
  name: "commonzonghaoreliang",
  components: {},
  data() {
    return {
      numval: "0",
      typestr: "总耗热量/万GJ",
    };
  },
  computed: {},
  watch: {
    '$store.state.daping.zonghaoreliangzz': {
      handler: function(n, o) {
        // this.numval = Number(n/10000 + '').tofixed(0)
        this.numval = (n/10000 + '').split('.')[0]
      }
    }
  },
  mounted() {
  },
  methods: {},
};
</script>
<style lang='scss' scoped>
</style>